<?php

/**
 * 专辑
 */
Route::get('entity/column/albums', ['as'=> 'entity.column.albums.index', 'uses' => 'Entity\Column\AlbumController@index']);
Route::post('entity/column/albums', ['as'=> 'entity.column.albums.store', 'uses' => 'Entity\Column\AlbumController@store']);
Route::get('entity/column/albums/create', ['as'=> 'entity.column.albums.create', 'uses' => 'Entity\Column\AlbumController@create']);
Route::put('entity/column/albums/{albums}', ['as'=> 'entity.column.albums.update', 'uses' => 'Entity\Column\AlbumController@update']);
Route::patch('entity/column/albums/{albums}', ['as'=> 'entity.column.albums.update', 'uses' => 'Entity\Column\AlbumController@update']);
Route::delete('entity/column/albums/{albums}', ['as'=> 'entity.column.albums.destroy', 'uses' => 'Entity\Column\AlbumController@destroy']);
Route::get('entity/column/albums/{albums}', ['as'=> 'entity.column.albums.show', 'uses' => 'Entity\Column\AlbumController@show']);
Route::get('entity/column/albums/{albums}/edit', ['as'=> 'entity.column.albums.edit', 'uses' => 'Entity\Column\AlbumController@edit']);

/**
 * 专题-媒资编辑
 */
// 编辑媒资界面
Route::get('entity/column/albums/{albums}/edit/asset', ['as'=> 'entity.column.albums.edit_asset', 'uses' => 'Entity\Column\AlbumController@editAsset']);
// 媒资数据
Route::post('entity/column/albums/asset/data', ['as'=> 'entity.column.albums.data', 'uses' => 'Entity\Column\AlbumController@data']);
// 已选的媒资数据
Route::post('entity/column/albums/asset/selected', ['as'=> 'entity.column.albums.selected', 'uses' => 'Entity\Column\AlbumController@selected']);
// 添加单个媒资|添加多个媒资
Route::post('entity/column/albums/asset/add', ['as'=> 'entity.column.albums.add_asset', 'uses' => 'Entity\Column\AlbumController@addVasseti']);
// 删除单个媒资|删除多个媒资
Route::post('entity/column/albums/asset/delete', ['as'=> 'entity.column.albums.deltete_asset', 'uses' => 'Entity\Column\AlbumController@deleteVasseti']);

/**
 * 专题上线, 下线, 发布
 */
// 专辑上线发布
Route::get('entity/column/albums/publish/view', [
    'as'=> 'entity.column.albums.publish', 
    'uses' => 'Entity\Column\AlbumController@publish'
]);
// 专辑单个,批量上线发布
Route::post('entity/column/albums/publish_one/view', [
    'as'=> 'entity.column.albums.publish_one', 
    'uses' => 'Entity\Column\AlbumController@batchModerate'
]);
// 专辑单个,批量下线发布
Route::post('entity/column/albums/publish_down_one/view', [
    'as'=> 'entity.column.albums.publish_down_one', 
    'uses' => 'Entity\Column\AlbumController@batchModerate'
]);
// 专辑下线发布
Route::get('entity/column/albums/publish_down/view', [
    'as'=> 'entity.column.albums.publish_down', 
    'uses' => 'Entity\Column\AlbumController@publishDown'
]);
// 专辑全部上线
Route::get('entity/column/albums/all_up/view', [
    'as'=> 'entity.column.albums.all_up', 
    'uses' => 'Entity\Column\AlbumController@allUp'
]);
// 专辑全部下线
Route::get('entity/column/albums/all_down/view', [
    'as'=> 'entity.column.albums.all_down', 
    'uses' => 'Entity\Column\AlbumController@allDown'
]);
// 专辑上线
Route::post('entity/column/albums/up/view', [
    'as'=> 'entity.column.albums.up', 
    'uses' => 'Entity\Column\AlbumController@batchModerate'
]);
// 专辑下线
Route::post('entity/column/albums/down/view', [
    'as'=> 'entity.column.albums.down', 
    'uses' => 'Entity\Column\AlbumController@batchModerate'
]);
// 查询进度
Route::get('entity/column/albums/progress/view', [
    'as'=> 'entity.column.albums.progress', 
    'uses' => 'Entity\Column\AlbumController@queryProgress'
]);